function dist_matrix = dist_lcss(str_matrix)

    [num_strings,len_string]=size(str_matrix);
    
    dist_matrix=zeros(num_strings);
    
    for i=1:num_strings
    i
        for j=i+1:num_strings
            dist_matrix(i,j) = 1-LCSS(str_matrix(i,:),str_matrix(j,:))/ len_string;
        end
    end
    
    dist_matrix=dist_matrix+dist_matrix';
    